/*
 * @Author: Jiraiya
 * @Date: 2020-05-12 16:49:40
 * @LastEditors: Jiraiya
 * @LastEditTime: 2020-05-12 16:50:14
 * @Description: 
 */
// https://zh-hans.reactjs.org/docs/react-api.html#reactmemo
export default function memo(
    type,
    compare,
) {
    return {
        $$typeof: REACT_MEMO_TYPE,
        type,
        compare: compare === undefined ? null : compare,
    };
}